IModel.IsIn (string, bool) method

Namespace: NextDesign.Core

Description

Checks if this instance is an instance of one of the specified classes. Returns True if it is an instance of any of the specified classes.

argument

Name Type Description
classNames string Class names (comma separated when specifying multiple classes)
If null or an empty string is specified, the evaluation of this method will be False.
This method evaluates to False if a class with the specified name cannot be found.
fuzzy bool classNames argument as class names instead of fully qualified names.
If False, evaluate as if the fully qualified name matches the classNames.
If True, evaluate as if the class whose class name matches classNames is specified.
If more than one is applicable and any one of them is an instance, evaluate this method as True.

The default value is True.

Return value

  • bool